import { createRouter, createWebHistory } from 'vue-router';

import ArticleView from '#/views/article/index.vue';
import HomeView from '#/views/home/index.vue';

const routes = [
  { path: '/', component: HomeView },
  {
    path: '/article',
    component: ArticleView,
  },
];

export const router = createRouter({
  history: createWebHistory(),
  routes,
});
